package com.controller;


import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class helloController {
   @RequestMapping("/hello")
   public String test(String user,Model m){
	   System.out.println("test成功!");
       m.addAttribute("user", user);
	   System.out.println(user);
	   return "hello";
   }
   
}
